package com.xxx.blog.service;

import com.xxx.blog.domain.ArticleType;
import com.xxx.blog.query.ArticleTypeQuery;
import com.xxx.vo.ArticleTypeStatistics;


import java.util.List;

public interface IArticleTypeService {
    List<ArticleType> findAll();

    ArticleType findOne(long id);

    List<ArticleType> queryPage(ArticleTypeQuery articleTypeQuery);

    void addArticleType(ArticleType articleType);

    void updateArticleType(ArticleType articleType);

    void deleteArticleType(long id);

    void batchArticleTypes(long[] ids);

    List<ArticleType> getTypeTree(Long id);

    List<ArticleTypeStatistics> findArticleTypeStatistics();
}
